package com.stop.action;

import java.util.List;

import org.apache.struts2.ServletActionContext;

import com.stop.dao.UserDao;

public class StopPlaceDetail {
	private UserDao dao;

	public UserDao getDao() {
		return dao;
	}

	public void setDao(UserDao dao) {
		this.dao = dao;
	}

	@SuppressWarnings("rawtypes")
	public String execute() throws Exception {
		List list = dao.listallFreeStopPlaceDetail();
		ServletActionContext.getRequest().getSession()
				.setAttribute("list", list);
		return "success";
	}
}
